Skip to content

Conversation

@RaphaelBut
Copy link
Contributor

Allows to monitor ipv4 address usage of subnets

Adds

  • vpc_ipv4addressespersubnet_quota metric (CIDR-based capacity)
  • vpc_ipv4addressespersubnet_usage metric (currently used IPs)

Note that the "quota" metric is not an aws quota, but the capacity of the subnet as defined by the assigned CIDR.
We could possibly use '_capacity' instead of '_quota' but this way it is in line with the rest of the metrics and should be semantically "correct".

https://issues.redhat.com/browse/SREP-114

@RaphaelBut RaphaelBut changed the title WIP: Add IPv4 address usage and quota metrics per subnet Add IPv4 address usage and quota metrics per subnet Oct 2, 2025
  - Add vpc_ipv4addressespersubnet_quota metric (CIDR-based capacity)
  - Add vpc_ipv4addressespersubnet_usage metric (currently used IPs)
@RaphaelBut RaphaelBut force-pushed the add-ipv4-per-subnet branch from d253f4c to 438ffbb Compare October 2, 2025 13:34
@RaphaelBut
Copy link
Contributor Author

/ok-to-test

1 similar comment
@fishi0x01
Copy link
Contributor

/ok-to-test

Copy link
Contributor

@rporres rporres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx a lot for your contribution. Two minor comments.

@RaphaelBut
Copy link
Contributor Author

Thanks for the reviews!

@rporres
Copy link
Contributor

rporres commented Oct 9, 2025

/ok-to-test

Copy link
Contributor

@hemslo hemslo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bergmannf bergmannf merged commit 9878e5c into app-sre:master Oct 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants